package org.reliablesource.prism.ui.viewers;

import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;

/**
 *
 *  PrismViewer.java<br>
 *  Copyright (c) 2007, Reliable Source, Inc. All Rights Reserved<br><br>
 *
 *	Created on: Jan 3, 2007<br>
 *  @author Dennis Park 
 *  <a href="mailto:dennis.park@gmail.com">dennis.park@gmail.com</a>
 *
 *	@since 1.0
 */

abstract public class PrismViewer extends Viewer {

	public PrismViewer(){
		super();
	}
	
	@Override
	public Control getControl() {
		return null;
	}

	@Override
	public Object getInput() {
		return null;
	}

	@Override
	public ISelection getSelection() {
		return null;
	}

	@Override
	public void refresh() {
	}

	@Override
	public void setInput(Object input) {
	}

	@Override
	public void setSelection(ISelection selection, boolean reveal) {
	}
	
	abstract public void createViewerControl(Composite _parent);
		
	abstract public void init ( ) throws ViewerInitException;
}
